<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>弹性布局</title>
		<style type="text/css">
			.box{
				width: 800px;
				height: 800px;
				background-color: #0000FF;
				display: fixed;
				flex-wrap: wrap;
			}
			.box div{
				width: 150px;
				height: 150px;
				background-color: #E81759;
				border: 2px solid firebrick;
			}
		</style>
	</head>
	<body>
		<div class="box">
			<div>第一个盒子</div>
			<div>第二个盒子</div>
			<div>第三个盒子</div>
			<div>第四个盒子</div>
			<div>第五个盒子</div>
			<div>第六个盒子</div>
			<div>第七个盒子</div>
		</div>
	</body>
</html>
